import { Button, Result } from 'antd';
import React from 'react';
import router from 'umi/router';
/* 这里应该是 404 result 组件 */

const NoFoundPage = () => (
  <Result
    status="404"
    title="404"
    subTitle="您访问的页面不存在！"
    extra={
      <Button type="primary" onClick={() => router.goBack(-1)}>
        返回
      </Button>
    }
  ></Result>
);

export default NoFoundPage;
